package cn.ssm.pojo;

public class Class {
   
	
	
	private int id;
	private String className;
	private int computerroomId;
	private int teacherId;
	private Teacher teacher;
	private Computerroom computerroom;
	private BanZhuRen banZhuRen;
	private int banZhuRenId;
	
	public int getBanZhuRenId() {
		return banZhuRenId;
	}

	public void setBanZhuRenId(int banZhuRenId) {
		this.banZhuRenId = banZhuRenId;
	}

	public BanZhuRen getBanZhuRen() {
		return banZhuRen;
	}

	public void setBanZhuRen(BanZhuRen banZhuRen) {
		this.banZhuRen = banZhuRen;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Computerroom getComputerroom() {
		return computerroom;
	}

	public void setComputerroom(Computerroom computerroom) {
		this.computerroom = computerroom;
	}

	public Class(){}


	public Class(int id, String className, int computerroomId, int teacherId,
			Teacher teacher, Computerroom computerroom,BanZhuRen banZhuRen) {
		super();
		this.id = id;
		this.className = className;
		this.computerroomId = computerroomId;
		this.teacherId = teacherId;
		this.teacher = teacher;
		this.computerroom = computerroom;
		this.banZhuRen=banZhuRen;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getClassName() {
		return className;
	}


	public void setClassName(String className) {
		this.className = className;
	}


	public int getComputerroomId() {
		return computerroomId;
	}


	public void setComputerroomId(int computerroomId) {
		this.computerroomId = computerroomId;
	}


	public int getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(int teacherId) {
		this.teacherId = teacherId;
	}

}
